page {
    box-sizing: border-box;
}

.goodsList {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;

    .goodsItem {
        flex: 0 0 45%;
        border-radius: 20rpx;
        background-color: white;
        overflow: hidden;
        margin: 10rpx;

        .goodsImg {
            width: 100%;
            height: 45vw;
        }

        .content {
            margin: 10rpx;

            .name {
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
            }
        }

        .price {
            color: red;
        }

    }

    .noGoods {
        width: 100%;
        height: 80vh;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 130%;
        font-weight: lighter;
    }
}